Skip to content

Conversation

@devinslick
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings November 6, 2025 19:05
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
fmd_api/client.py 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces code formatting improvements and pre-commit hooks to maintain code quality, bumps the version to 2.0.3, and refactors the CI/CD publishing workflow. The changes focus on applying Black formatting to tests and documentation, setting up automated code quality checks, and streamlining the PyPI publishing process.

  • Version bump from 2.0.2 to 2.0.3 across the project
  • Addition of pre-commit hooks for automated code quality enforcement
  • Code formatting cleanup using Black on test files and documentation
  • CI/CD workflow refinement to separate TestPyPI publishing into a manual workflow

Reviewed Changes

Copilot reviewed 7 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/unit/test_coverage_improvements.py Applied Black formatting - removed trailing whitespace, fixed line spacing, and reformatted long lines
pyproject.toml Version bumped to 2.0.3 and added pre-commit to dev dependencies
fmd_api/_version.py Version string updated to 2.0.3
fmd_api/client.py Applied Black formatting to multi-line statements
docs/PROPOSED_BRANCH_AND_STRUCTURE.md Fixed trailing whitespace
docs/PROPOSAL.md Fixed trailing whitespace and line endings
docs/MIGRATE_FROM_V1.md Fixed trailing whitespace throughout the file
docs/HOME_ASSISTANT_REVIEW.md Fixed trailing whitespace issues
README.md Fixed trailing whitespace
.pre-commit-config.yaml New file configuring pre-commit hooks for Black, flake8, mypy, and general file cleanup
.gitignore Fixed trailing whitespace
.github/workflows/publish.yml Removed automatic TestPyPI publishing on branch pushes; now only publishes to PyPI on main branch or releases
.github/workflows/publish-testpypi.yml New manual workflow for TestPyPI publishing with confirmation requirement

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@devinslick devinslick merged commit e7a7540 into main Nov 6, 2025
28 checks passed
@devinslick devinslick deleted the increase-code-test-coverage branch November 9, 2025 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants